diff -Naur XBMC.orig/xbmc/lib/cximage-6.0/tiff/tif_ojpeg.c XBMC/xbmc/lib/cximage-6.0/tiff/tif_ojpeg.c
--- XBMC.orig/xbmc/lib/cximage-6.0/tiff/tif_ojpeg.c	2009-05-26 22:38:28.000000000 +0000
+++ XBMC/xbmc/lib/cximage-6.0/tiff/tif_ojpeg.c	2009-09-08 00:55:37.000000000 +0000
@@ -31,11 +31,9 @@
 #endif
 #define JPEG_INTERNALS /* Include "jpegint.h" for "DSTATE_*" symbols */
 #undef INLINE
-#ifdef _LINUX
-#include <jpeglib.h>
-#else
+#ifdef _LINUX
 #include "../jpeg/jpeglib.h"
-#endif
+#endif
 #undef JPEG_INTERNALS
 
 /* Hack for Microsoft's Wang Imaging for Windows output files */
